package com.smart.manager.member.entities.bodys;

import com.smart.manager.member.entities.enums.PigCombineStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @author leo
 * @date 2023/09/22
 */
public class RMemberMaterialCombinePig {

    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class AddBody implements Serializable {

        @ApiModelProperty("猪仔代码")
        @NotBlank(message = "猪仔代码不能为空")
        private String code;


        @ApiModelProperty("邀请玩家")
        @NotNull(message = "邀请玩家不能为空")
        private Long member;


    }
    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class DisposeBody implements Serializable {

        @ApiModelProperty("合养代码(不是猪仔代码)")
        @NotBlank(message = "合养代码不能为空")
        private String code;


        @ApiModelProperty("处理状态")
        @NotNull(message = "处理状态不能为空")
        private PigCombineStatus status;


    }

}
